﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Lexical.Coding;
using Kokomo.Lexical.Expressions;

namespace Kokomo.PeInspector.Reflection.Disassembly.Flow
{
	class CaseFlowAnalyzer : FlowAnalyzer
	{
		public IList<Expression> Labels { get; private set; }
		public IList<Statement> Statements { get; private set; }

		public CaseFlowAnalyzer(
			SwitchFlowAnalyzer parent,
			int blockStartOffset,
			int blockEndOffset
			)
			: base(parent, blockStartOffset, blockEndOffset, blockStartOffset, blockEndOffset)
		{
			this.Labels = new List<Expression>();
			this.Statements = new List<Statement>();
			this.ActiveStatementBlock = this.Statements;
		}
	}
}
